<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>栅格网格系统</title>
		<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.min.css"/>
	</head>
	<body>
		<div class="container">
			<div class="row">
				<div class="col-md-4" style="background-color: deepskyblue;">4</div>
				<div class="col-md-8" style="background-color: bisque;">8</div>
			</div>
			<div class="row">
				<div class="col-md-1" style="background-color: mediumseagreen;">1</div>
				<div class="col-md-1" style="background-color: green;">1</div>
				<div class="col-md-1" style="background-color: palegreen;">1</div>
				<div class="col-md-1" style="background-color: blueviolet;">1</div>
			</div>
			<hr >
			<div class="row">
				<div class="col-md-1" style="background-color: mediumseagreen;">1</div>
				<div class="col-md-1 col-md-offset-1" style="background-color: green;">1</div>
				<div class="col-md-1" style="background-color: palegreen;">1</div>
				<div class="col-md-1 col-md-offset-3" style="background-color: blueviolet;">1</div>
			</div>
			<hr >
			<div class="row">
				<div class="col-md-1" style="background-color: red;">1</div>
				<div class="col-md-1 col-md-push-3" style="background-color: black;">1</div>
				<div class="col-md-1 " style="background-color: pink;">1</div>
				<div class="col-md-1 col-md-pull-2" style="background-color: yellow;">1</div>
			</div>
			
			<!-- 列嵌套 -->
			<div class="row">
				<div class="col-md-6">
					<div class="row">
						<div class="col-md-1" style="background-color: hotpink;">1</div>
						<div class="col-md-9" style="background-color: deepskyblue;">9</div>
						<div class="col-md-1" style="background-color: yellowgreen;">1</div>
						<div class="col-md-1" style="background-color: red;">1</div>
					</div>
				</div>
				<div class="col-md-6" style="background-color: bisque;">6</div>
			</div>
		</div>
	</body>
</html>
